﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="SetTop.aspx.cs" Inherits="lcmyjobs.Web.enprise.SetTop" %>

<%@ Register src="../Controls/TopEmployNavigation.ascx" tagname="TopEmployNavigation" tagprefix="uc1" %>

<%@ Register src="../Controls/EnterpriseLeft.ascx" tagname="EnterpriseLeft" tagprefix="uc2" %>

<%@ Register src="../Controls/Bottom8.ascx" tagname="Bottom8" tagprefix="uc3" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>单位管理中心—单位升级：首页固定位置</title>
    <link href="../Styles/css.css" rel="stylesheet" type="text/css" />
    <link href="../css/style.css" rel="stylesheet" type="text/css" />
    <script src="../Scripts/jquery-1.4.1.min.js" type="text/javascript"></script>
    <script language="javascript" type="text/javascript">
        $(function () { $(".grgl_ul li a").eq(5).addClass("activ_n"); });

        function checkinput(){
            //var uname = val.value;
            var uname = $("#txt_timecount").val();
            reg = /^[\d]+$/;
            reg.test(uname);
            if (reg.test(uname)) {
                if (uname < 0 || uname > 365) {
                    $("#mymsg").html("请输入0-365之间的数！");
                    $("#mymsg").css("color", "#ff6600");
                    return false;
                }
            }
            else {
                $("#mymsg").html("请输入0-365之间的整数！");
                $("#mymsg").css("color", "#ff6600");
                return false;
            }
            return true;
        }
        /*
        function checkinputadd() {
            //var uname = val.value;
            var uname = $("#txt_addcount").val();
            reg = /^[\d]+$/;
            reg.test(uname);
            if (reg.test(uname)) {
                if (uname < 0 || uname > 365) {
                    $("#addmsg").html("请输入0-365之间的数！");
                    $("#addmsg").css("color", "#ff6600");
                    return false;
                }
            }
            else {
                $("#mymsg").html("请输入0-365之间的整数！");
                $("#mymsg").css("color", "#ff6600");
                return false;
            }
            return true;
        }
        */
    </script>
</head>
<body>
    <form id="form1" runat="server">
    <div id="lo_wrap">
		<uc1:TopEmployNavigation ID="TopEmployNavigation1" runat="server" />
		<div class="zgzt_img">
			<img src="../qimg/zgzt_img.jpg" alt="找工作？就来我猎头网！" width="950" height="70"/>
		</div>
		<div class="syd_dhk">
			欢迎您： <asp:Label ID="lbl_title" runat="server" Font-Bold="True"></asp:Label>
		</div>
		<div class="ny_center" style="margin-top:5px;">
			<uc2:EnterpriseLeft ID="EnterpriseLeft1" runat="server" />
			<div class="grgl_right">
				<div class="grgl_jbzl">
				<p class="jbzl_zhuc_ls"><a href="ListMember.html">单位升级</a> | <a href="SetTop.html"> <span>首页固定位置</span></a></p>
				<div class="xinxi_zc">
					<div class="jbxx_lr_ls">首页固定位置</div>
                        <asp:Label ID="lbl_top_no" runat="server">
						    <div class="xiayibu">
							     温馨提示：固定在首页位置，将会获得非常高的点击量，从而显著提高贵单位的招聘效果。<br/>
							     <strong style="font-size:14px">首页固定位置，每周：100元</strong><br/>
							    
                            &nbsp;</div>
                        </asp:Label>

                        <asp:Label ID="lbl_top_apply" runat="server" Visible="false">
                            <div class="xiayibu">
                            温馨提示：您已经申请“（首页）VIP固定位置”显示，我猎头网工作人员会及时与您联系！
                            </div>
                        </asp:Label>

                        <asp:Label ID="lbl_top_suc" runat="server">
                            <div class="xiayibu">
                                您已经成功申请“（首页）VIP固定位置”显示，有效期还有<span style="color:#ff6600"><asp:Label ID="lbl_top_valid" runat="server"></asp:Label></span><br/>
                                <strong style="font-size:14px">首页固定位置，每周：100元</strong><br/>
							    
                            </div>
                        </asp:Label>
                        <asp:Label ID="lbl_top_add" runat="server" Visible="false">
                            <div class="xiayibu">
                            您已经申请增加“（首页）VIP固定位置”显示，我猎头网工作人员会及时与您联系！
                            </div>
                        </asp:Label>
                            <div class="xiayibu">
                                <asp:Label ID="lbl_btn_1" runat="server">固定时间：</asp:Label><asp:TextBox ID="txt_timecount" runat="server" Width="50px"></asp:TextBox> 
                                <asp:Label ID="lbl_btn_2" runat="server">天<span id="mymsg" style="display: block; color: #ff6600;"></span></asp:Label>
							     <asp:Button ID="lbn_save" runat="server" OnClientClick="if( checkinput() == false) return false; else return confirm('确认要申请首页固定位置吗？');" OnClick="lbn_save_Click" Text="确 定" CssClass="bgbtn" />
                            </div>
                    </div>
				</div>
			</div>
			
		</div>
		<uc3:Bottom8 ID="Bottom81" runat="server" />
	</div>
    </form>
</body>
</html>
